/**
 * Created with CLion.
 * Description: 
 * User: cyber
 * Date: 2020-09-10
 * Time: 8:57
 */
#include <QtWidgets>

int main(int argc ,char *argv[]){
    QApplication a(argc, argv);
    QDateTime * pDateTime = new QDateTime();
    pDateTime->setDate(QDate::fromString("2030/3/25", "yyyy/M/d"));
    pDateTime->setTime(QTime::fromString("9:20:00", "h:m:s"));
    QDateTime time2 = pDateTime->addSecs(static_cast<qint64>(300.876));
    qDebug() << time2.time();
    return a.exec();
}